package com.entity.pojo;

import com.baomidou.mybatisplus.annotation.*;

import java.util.Date;
import java.io.Serializable;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 *
 * </p>
 *
 * @author chenMo
 * @since 2022-04-21
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value="Resources对象", description="")
public class Resources implements Serializable {

private static final long serialVersionUID=1L;

    @ApiModelProperty(value = "资源id")
    @TableId(value = "resourceId", type = IdType.AUTO)
    private Integer resourceId;

    @ApiModelProperty(value = "资源内容")
    @TableField("resourceContent")
    private String resourceContent;

    @ApiModelProperty(value = "资源代码")
    @TableField("resourceCode")
    private String resourceCode;

    @ApiModelProperty(value = "属于知识点")
    @TableField("conceptId")
    private Integer conceptId;

    @ApiModelProperty(value = "属于知识点名称")
    @TableField("conceptName")
    private String conceptName;

    @ApiModelProperty(value = "属于知识点类型，1为评测，2为指导")
    @TableField("conceptType")
    private Integer conceptType;

    @ApiModelProperty(value = "排序字段")
    @TableField("positionId")
    private Integer positionId;

    @ApiModelProperty(value = "属性键")
    @TableField("propertiesKey")
    private String propertiesKey;

    @ApiModelProperty(value = "属性值")
    @TableField("propertiesValue")
    private String propertiesValue;

    @ApiModelProperty(value = "创建人工号")
    @TableField("createdBy")
    private String createdBy;

    @ApiModelProperty(value = "创建人姓名")
    @TableField("createdByName")
    private String createdByName;

    @TableLogic
    @TableField(value = "isDeleted", fill = FieldFill.INSERT)
    private Integer isDeleted;

    @TableField(value = "createTime", fill = FieldFill.INSERT)
    @ApiModelProperty(value = "创建时间", example = "2019-01-01 10:10:10")
    private Date createTime;

    @TableField(value = "updateTime", fill = FieldFill.INSERT_UPDATE)
    @ApiModelProperty(value = "更改时间", example = "2019-02-01 10:10:10")
    private Date updateTime;


}
